Skip to content

Remove code for Cap'n Proto versions before 0.9 - #331

Merged
ryanofsky merged 1 commit into
bitcoin-core:masterfrom
hebasto:260802-outdated-capnp
Aug 3, 2026
Merged

Remove code for Cap'n Proto versions before 0.9#331
ryanofsky merged 1 commit into
bitcoin-core:masterfrom
hebasto:260802-outdated-capnp

Conversation

@hebasto

@hebasto hebasto commented Aug 2, 2026

Copy link
Copy Markdown
Member

The removed code has been dead since db4f9a3, which bumped the minimum required Cap'n Proto version to 0.9.

@DrahtBot

DrahtBot commented Aug 2, 2026

Copy link
Copy Markdown

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK maflcko, ryanofsky

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

@hebasto hebasto changed the title Remove code for for Cap'n Proto versions before 0.9 Remove code for Cap'n Proto versions before 0.9 Aug 2, 2026
The removed code has been dead since db4f9a3,
which bumped the minimum required Cap'n Proto version to 0.9.
@hebasto
hebasto force-pushed the 260802-outdated-capnp branch from 9b2e9f8 to 788f17a Compare August 2, 2026 19:23
@maflcko

maflcko commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

lgtm ACK 788f17a

@ryanofsky ryanofsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review ACK 788f17a. It's especially nice to clean up the cmake/compat_config.cmake file

Comment thread shell.nix
Comment on lines -20 to -23
"0.7.0" = "sha256-Y/7dUOQPDHjniuKNRw3j8dG1NI9f/aRWpf8V0WzV9k8=";
"0.7.1" = "sha256-3cBpVmpvCXyqPUXDp12vCFCk32ZXWpkdOliNH37UwWE=";
"0.8.0" = "sha256-rfiqN83begjJ9eYjtr21/tk1GJBjmeVfa3C3dZBJ93w=";
"0.8.1" = "sha256-OZqNVYdyszro5rIe+w6YN00g6y8U/1b8dKYc214q/2o=";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In commit "Remove code for Cap'n Proto versions before 0.9" (788f17a)

Other changes in this commit all make sense, but I do think it'd be a little nicer to keep these hashes as they are convenient for testing. The dependency on 0.9.0 is weak and only due to a getFd call which I think we may want to drop anyway, because capnproto has long had better mechanisms for communicating across threads than writing to file descriptors: #274 (comment)

@ryanofsky
ryanofsky merged commit 67302cd into bitcoin-core:master Aug 3, 2026
13 checks passed
@hebasto
hebasto deleted the 260802-outdated-capnp branch August 4, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants